import service from '@/service/service'
import qs from 'qs'
/**
 * 收料单总数
 * @returns {*}
 */
export function materialsMenu (data) {
  return service.post('api/wms/instockMaterialOverview/GetReceiptSum',data)
}
/**
 * 当日入库数据
 * @returns {*}
 */
export function onDayAndWeekIn (data) {
  return service.post('api/wms/instockMaterialOverview/GetInstockSum',data)
}
export function getInstockData (data) {
  return service.post('api//wms/instockMaterialOverview/GetInstockData',data)
}
/**
 * 临期和过期物料预警
 * @returns {*}
 */
export function forewarning (data) {
  return service.post('api/wms/instockMaterialOverview/GetMaterialWariningList',data)
}

export function forewarningCharts (data) {
  return service.post('api/wms/instockMaterialOverview/GetMaterialWariningView',data)
}
/**
 * 时间范围
 * @returns {*}
 */
export function packagingMaterial (data) {
  return service.post('api/wms/instockMaterialOverview/GetMaterialInstockSum',data)
}
